<?php
/* @var $this Form2Controller */

$this->breadcrumbs=array(
	'Form2'=>array('/form2'),
	'Form2',
);
?>
<h1><?php echo $this->id . '/' . $this->action->id; ?></h1>

<div class="form">
	<?php 
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'form2',
			'enableAjaxValidation' => true
		));	
	
	?>

	<?php echo $form->errorSummary($model); ?>

	
	
  
<div class="row">
    <?php echo $form->labelEx($model, 'name'); ?>
    <?php echo $form->textField($model, 'name'); ?>
    <?php echo $form->error($model, 'name'); ?>
  </div>
  
<div class="row">
    <?php echo $form->labelEx($model, 'password'); ?>
    <?php echo $form->textField($model, 'password'); ?>
    <?php echo $form->error($model, 'password'); ?>
  </div>  
  
  
<div class="row submit">
	<?php echo CHtml::submitButton('go'); ?>
</div>
<?php  $this->endWidget(); ?>

</div>